package com.daka.vo.response;

import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * Created by yangx
 * CreateTime: 2016/12/29 18:40
 */

@Data
@ToString
public class ListTeamAuctionVo implements Comparable<ListTeamAuctionVo> {
    private Long teamId;
    private String teamName;
    private String url;
    private BigDecimal amount;
    private Integer number=1;

    @Override
    public int compareTo(ListTeamAuctionVo o) {
        return o.getAmount().compareTo(this.getAmount());
    }

}







